package com.xzx.shop_front_api.entity.exam;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import lombok.Data;
import org.springframework.stereotype.Component;

/**
 * 用户信息实体类
 */
@Data
@Component
@TableName("exam_users")
public class User {
    @TableId(type = IdType.AUTO)
    private Long id;
    private String username;
    @TableField(exist = false)
    private UserType userType;//关联用户分类信息表
    @TableField(exist = false)
    private UserDetails userDetails;//关联用户详情信息表

}
